﻿using System;
using Newtonsoft.Json;

namespace ChinaTax.LeQi
{
    public class AdjustInvoiceQuotaExpiryRequest : Request<AdjustInvoiceQuotaExpiryResponse>
    {
        public AdjustInvoiceQuotaExpiryRequest()
        {
            ServiceCode = "TZSXEDYXQ";
        }

        [JsonProperty("xsfnsrsbh")]
        public string TaxNo { get => LeQiConfig.TaxNo; }


        [JsonProperty("sxedsq")]
        public string Month { get; set; }
    }

    public class AdjustInvoiceQuotaExpiryResponse : Response
    {
        [JsonProperty("syqjq")]
        public string BeginDate { get; set; }

        [JsonProperty("syqjz")]
        public string EndDate { get; set; }

        [JsonProperty("sxedsq")]
        public string Month { get; set; }
    }
}
